package com.tadpole.music.bean.home;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/18
 */
public class NoticeBean {

    /**
     * code : 200
     * data : [{"id":1,"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00","title":"上线了！！！"}]
     * msg : success
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * created_at : 0001-01-01 00:00:00
         * updated_at : 0001-01-01 00:00:00
         * title : 上线了！！！
         */

        private int id;
        private String created_at;
        private String updated_at;
        private String title;

        public DataBean(int id, String created_at, String updated_at, String title) {
            this.id = id;
            this.created_at = created_at;
            this.updated_at = updated_at;
            this.title = title;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
